package cn.hcbycloud.auth.model;

import cn.hcbycloud.common.mysql.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 权限表
 *
 * @author gaoheng
 * @date 2022-01-21 23:44:11
 */
@Data
@TableName("tb_uaa_permission")
@EqualsAndHashCode(callSuper = true)
public class Permission extends BaseModel<Permission> {
    private static final long serialVersionUID=1L;

        
    /**
     * 权限名称
     */
    @TableField("permission_name")
    private String permissionName;
        
    /**
     * 权限编码
     */
    @TableField("permission_code")
    private String permissionCode;
        
    /**
     * 资源ID
     */
    @TableField("resource_id")
    private String resourceId;
        
    /**
     * 行为ID
     */
    @TableField("action_id")
    private String actionId;
        
    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;
                
}
